package com.blog.cloud.oss.dynamic.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "aliyun")
@PropertySource(value = "file:D:\\Alibaba/oss.properties", ignoreResourceNotFound = true, encoding = "UTF-8")
public class TestDemo {
    private String accessId;
    private String secretKey;
    private String endpoint;
    private String bucket;
    private Long expireTime;
}
